<?php
echo '<?xml version="1.0" encoding="UTF-8" ?>' . PHP_EOL;
echo $this->doctype('XHTML1_STRICT') . PHP_EOL;?>
<html>
<head>
<?php
// setting content type and character set
$this->headMeta()->appendHttpEquiv('Content-Language', 'es-mx');
// add a link to the style sheet
$this->headLink()->appendStylesheet('/css/style.css')
					->appendStylesheet('/css/typography.css')
					->appendStylesheet('/css/prettyphoto.css');
$this->headLink(array('rel' => 'shortcut icon', 'href' => '/favicon.ico', 'type' => 'image/x-icon'));
$this->headLink()->appendStylesheet('http://fonts.googleapis.com/css?family=Noticia+Text:regular,italic,bold,bolditalic');

$this->headScript()->prependFile('/js/widget.js')
					->prependFile('/js/theme-settings.js')
					->prependFile('/js/prettyphoto.js')
					->prependFile('/js/jquery-plugins.js')
					->prependFile('/js/jquery.js');

echo $this->headTitle() . PHP_EOL;
echo $this->headMeta() . PHP_EOL;
echo $this->headLink() . PHP_EOL;
echo $this->headScript() . PHP_EOL;

?>
<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-31849913-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>
</head>
<body>
<div id="top-curve"></div>

<?php echo $this->layout()->content; ?>

<!-- ...................... Small Footer ...................... -->
	<div id="footer-bottom">		
		<div id="small-footer">			
			<ul>				
				<li><a href="<?php echo $this->baseUrl('/index/index'); ?>">Inicio</a></li>
                <li><a href="<?php echo $this->baseUrl('/index/about'); ?>">Con&oacute;ceme</a></li>
				<li><a href="<?php echo $this->baseUrl('/index/project'); ?>">Propuestas</a></li>
				<li><a href="<?php echo $this->baseUrl('/noticias/lista'); ?>">Noticias</a></li>
				<li><a href="<?php echo $this->baseUrl('/eventos/lista'); ?>">Eventos</a></li>
				<li><a href="<?php echo $this->baseUrl('/contactos/index'); ?>">Contacto</a></li>
			</ul>			
			<span>&copy; 2012, <a href="<?php echo $this->baseUrl('/index/index'); ?>">Alejandro L&oacute;pez Caballero</a>&nbsp;&nbsp;&nbsp;<a href="<?php echo $this->baseUrl('/admin/login'); ?>">Panel</a><!-- - Desarrollado por: <a href="http://www.flixtech.com" target="_blank">Flixtech</a> --></span>			
		</div>	<!-- #small-footer	 -->
	</div> <!-- #footer-bottom -->
<!-- ...................... End Small Footer ...................... -->	

</body>
</html>